package com.suse.lhw.hms.foodserver.service.Impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.suse.lhw.hms.foodserver.dao.FPackageCategoryMapper;
import com.suse.lhw.hms.foodserver.domin.FPackageCategory;
import com.suse.lhw.hms.foodserver.service.FPackageCategoryService;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.foodserver.service.Impl
 * @ClassName: FPackageCategoryServiceImpl
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/4/18 19:30
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/4/18 19:30
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Service
public class FPackageCategoryServiceImpl implements FPackageCategoryService {

    @Resource
    private FPackageCategoryMapper fPackageCategoryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return fPackageCategoryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(FPackageCategory record) {
        return fPackageCategoryMapper.insert(record);
    }

    @Override
    public int insertSelective(FPackageCategory record) {
        return fPackageCategoryMapper.insertSelective(record);
    }

    @Override
    public FPackageCategory selectByPrimaryKey(Integer id) {
        return fPackageCategoryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(FPackageCategory record) {
        return fPackageCategoryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(FPackageCategory record) {
        return fPackageCategoryMapper.updateByPrimaryKey(record);
    }

}
